package com.byxy.controller;

import javax.annotation.Resource;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import com.byxy.service.TabService;

public class TabController {
	
	@Resource
	private TabService tabService;
	
	@GetMapping("toTabManagePage.do")
	public String findAll(Model model) {
		model.addAttribute("tabs", tabService.findAll());
		return "tabManage";
	}
}
